Google Maps changed to contain invalid XHTML, again.
authorparkrrrr <parkrrrr>
Thu, 24 May 2007 13:18:28 +0000 (13:18 +0000)
committerparkrrrr <parkrrrr>
Thu, 24 May 2007 13:18:28 +0000 (13:18 +0000)
This time, it was tags of the form <foo bar="xxx"baz="yyy"> (note lack of
whitespace between attributes.)

google.c

index 1ad9aef86d9a283986f5fea313d5d01d2ec4c806..0fe9e260bd4d2617aad8f5e2843726837018a78b 100644 (file)
--- a/google.c
+++ b/google.c
@@ -417,6 +417,10 @@ google_read(void)
                        else if ( !strncmp( from, "\\042", 4)) {
                          *to++ = '"';
                          from += 4;
+                         
+                         if ( *(to-2) != '=' ) { 
+                           *to++ = ' ';                                  
+                         }
                        }
                        else if ( !strncmp( from, "\\'", 2)) {
                          *to++ = '\'';